import request from '@/utils/request'


// 根据参数键名查询参数值
export function getConfigKey(configKey) {
  return request({
    url: '/sys/config/configKey/' + configKey,
    method: 'get',
    notToken: true
  })
}


// 获取播放日志文件位置及音频文件位置
export function getPosition() {
  return request({
    url: '/sys/config/getPosition',
    method: 'get',
    notToken: true
  })
}

export function saveEntity(data) {
  return request({
    url: "/sys/config/save",
    method: "post",
    data: data
  });
}
